package com.yj.suncity.user.bean;

import org.json.JSONObject;

public class VersionBean {
	 private String success;//": "1",
	 private String msg;//": "获取版本信息成功",
	 private JSONObject version;//": {
	
	 private String id="";//": "B1E9A682-1250-4897-A525-5C5BD9248071",
	 private String app_name="" ;//   ": "同城赚.apk",
	 private String app_url="";//": "www.ygtc168.com/web/同城赚.apk",
	 private String version_number="";//": "3"
	public VersionBean(JSONObject json) {
		this.success = json.optString("success");
		this.msg = json.optString("msg");
		this.version = json.optJSONObject("version");
		if (version!=null) {
			this.id = version.optString("id");
			this.app_name = version.optString("app_name");
			this.app_url = version.optString("app_url");
			this.version_number =version.optString("version_number") ;
		}
	}
	public String getSuccess() {
		return success;
	}
	public String getMsg() {
		return msg;
	}
	public JSONObject getVersion() {
		return version;
	}
	public String getId() {
		return id;
	}
	public String getApp_name() {
		return app_name;
	}
	public String getApp_url() {
		return app_url;
	}
	public String getVersion_number() {
		return version_number;
	}

	 
}
